package logo.lang;
		
import java.util.*;

public class IRCmdSeq extends IRCmd {
 
	ArrayList smt;
		
    public IRCmdSeq() {
    	smt = new ArrayList();
				
    }
    public IRCmdSeq(ArrayList body) {
    	smt = new ArrayList(body);	
    }
    
    public ArrayList getSeq() {
    	return smt;
    }
    
    public IRCmdSeq add (ArrayList s) {
    	smt.add(s);
    	return this;
    }
        
    public Object visit(Visitor v, Object arg) throws Exception {
    	return v.visitSequence(this, arg);
    }

}
